package com.tuozixuan.model;

import java.util.Date;

public class EmailMsg {

	/** 主键 */
	private Long id;
	
	/** 系统代码 */
	private String systemCode;
	
	/** 业务Key(同一个业务Key只能发送一次) */
	private String businessKey;
	
	/** 用户ID */
	private String userId;
	
	/** 类型 [0:推广信息 1:业务信息 2:告警信息] */
	private Integer type;
	
	/** 标题 */
	private String title;
	
	/** 内容 */
	private String content;
	
	/** 附件信息 */
	private String annex;
	
	/** 发送者 */
	private String sender;
	
	/** 接收者 */
	private String receiver;
	
	/** 状态[0:待处理 1:发送成功 2:发送失败] */
	private Integer status;
	
	/** 响应信息 */
	private String responseMsg;
	
	/** 更新次数 */
	private Integer updateCount;
	
	/** 计划发送时间 */
	private Date plannedSendTime;
	
	/** 实际发送时间 */
	private Date sendTime;
	
	/** 创建时间 */
	private Date createTime;
	
	/** 更新时间 */
	private Date updateTime;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getSystemCode() {
		return systemCode;
	}

	public void setSystemCode(String systemCode) {
		this.systemCode = systemCode;
	}

	public String getBusinessKey() {
		return businessKey;
	}

	public void setBusinessKey(String businessKey) {
		this.businessKey = businessKey;
	}

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getAnnex() {
		return annex;
	}

	public void setAnnex(String annex) {
		this.annex = annex;
	}

	public String getSender() {
		return sender;
	}

	public void setSender(String sender) {
		this.sender = sender;
	}

	public String getReceiver() {
		return receiver;
	}

	public void setReceiver(String receiver) {
		this.receiver = receiver;
	}

	public Integer getStatus() {
		return status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

	public String getResponseMsg() {
		return responseMsg;
	}

	public void setResponseMsg(String responseMsg) {
		this.responseMsg = responseMsg;
	}

	public Integer getUpdateCount() {
		return updateCount;
	}

	public void setUpdateCount(Integer updateCount) {
		this.updateCount = updateCount;
	}

	public Date getPlannedSendTime() {
		return plannedSendTime;
	}

	public void setPlannedSendTime(Date plannedSendTime) {
		this.plannedSendTime = plannedSendTime;
	}

	public Date getSendTime() {
		return sendTime;
	}

	public void setSendTime(Date sendTime) {
		this.sendTime = sendTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
